<ion-view title="排班管理">  
<ion-nav-buttons side="right">
      <button class="button" ng-click="paibanLogList()" ng-disabled="logbtndisabled">
        填写日志
      </button>
    </ion-nav-buttons>

<ion-content>

	  <div class="list">
<div class="item item-icon-left item-icon-right item-divider" style="text-align: center;">
    <i class="icon ion-ios-arrow-left" style="color: #666;" ng-click="loadpretday()"></i>
    [ {{date}} ]&nbsp;排班列表
    <i class="icon ion-ios-arrow-right" style="color: #666;" ng-click="loadnextday()"></i>
</div>
  
  <div class="item item-button-right" ng-repeat="item in scrollItems">
    {{item.username}}
    <button id="{{item.userid}}" class="button" ng-class="{true: 'button-positive', false: ''}[item.zao1]" ng-click="edit(item,'1')" style="right: 136px;{{item.zao_style}}">
      早
    </button>
    <button class="button" ng-class="{true: 'button-balanced', false: ''}[item.zhong1]" style="right: 76px;{{item.zhong_style}}" ng-click="edit(item,'2')">
      中
    </button>
    <button class="button" ng-class="{true: 'button-assertive', false: ''}[item.wan1]" style="right: 16px;{{item.wan_style}}" ng-click="edit(item,'3')">
      晚
    </button>
  </div>

</div>
</ion-content>
</ion-view>
      